Pokedex

@Serializable
data class Pokedex(val id: Int, val name: String, val isMainSeries: Boolean, val descriptions: List<Description>, val names: List<Name>, val pokemonEntries: List<PokemonEntry>, val region: Handle.Named<Region>?, val versionGroups: List<Handle.Named<VersionGroup>>) : NamedModel(source)

A Pokédex is a handheld electronic encyclopedia device; one which is capable of recording and retaining information of the various Pokémon in a given region with the exception of the national dex and some smaller dexes related to portions of a region. See: https://pokeapi.co/docs/v2#pokedexes

Parameters

id

The identifier for this resource.

name

The name for this resource.

isMainSeries

Whether or not this Pokédex originated in the main series of the video games.

descriptions

The description of this resource listed in different languages.

names

The name of this resource listed in different languages.

pokemonEntries

A list of Pokémon catalogued in this Pokédex and their indexes.

region

The region this Pokédex catalogues Pokémon for.

versionGroups

A list of version groups this Pokédex is relevant to.

Constructors

Link copied to clipboard
constructor(id: Int, name: String, isMainSeries: Boolean, descriptions: List<Description>, names: List<Name>, pokemonEntries: List<PokemonEntry>, region: Handle.Named<Region>?, versionGroups: List<Handle.Named<VersionGroup>>)

Properties

Link copied to clipboard
Link copied to clipboard
open override val id: Int
Link copied to clipboard
Link copied to clipboard
open override val name: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard